package com.jwsoft.manager.common.vo.eduWorkOrderLog;

import com.baomidou.mybatisplus.annotation.TableField;
import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * VO
 *
 * @author zhiyuan
 * @since 2023-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduWorkOrderLogVO", title = "VO", description = "实体类")
public class EduWorkOrderLogVO extends BaseVO {

    @Schema(name = "workOrderLogId", title = "主键")
    private Long workOrderLogId;

    @Schema(name = "workOrderId", title = "工单id	")
    private Long workOrderId;

    @Schema(name = "type", title = "类型1 工单提交 2 工单流转 3 工单处理")
    private String type;

    @Schema(name = "userId", title = "处理人用户id")
    private String userId;

    @Schema(name = "fullName", title = "处理人用户姓名")
    private String fullName;

    @Schema(name = "orgId", title = "处理人组织id")
    private String orgId;

    @Schema(name = "orgName", title = "处理人组织名称")
    private String orgName;

    @Schema(name = "handleStatus", title = "处理状态")
    private String handleStatus;

    @Schema(name = "handleTime", title = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    @Schema(name = "handleMessage", title = "处理描述")
    private String handleMessage;

    @Schema(name = "nextUserId", title = "下级处理人")
    private String nextUserId;

    @Schema(name = "nextFullName", title = "下级处理人姓名")
    private String nextFullName;

    @Schema(name = "nextOrgId", title = "下级处理组织")
    private String nextOrgId;

    @Schema(name = "nextOrgName", title = "处理人组织名称 ")
    private String nextOrgName;

    @Schema(name = "finishFlag", title = "是否最终处理节点")
    private String finishFlag;
    @Schema(name = "personType", description = "1.教育局工作人员，2技术人员")
    private String personType;

    @Schema(name = "submittedTo", title = "提交给谁（1基教科审核 2科长复审 3技术人员处理)")
    private String submittedTo;
}
